<?php

/**
 * pertepoints form.
 *
 * @package    forumCDE
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class pertepointsForm extends BasepertepointsForm
{
  public function configure()
  {
  	$user = sfContext::getInstance()->getUser()->getUserProfile();
  	$this->setDefault('responsable_id', $user->id);
  	$this->getWidget('responsable_id')->setAttribute('disabled', 'true');
  	$this->hideWidget('responsable');
  }
}
